package com.dingpeikeji.quickdeer.modules.office.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.dingpeikeji.quickdeer.core.common.persistence.Page;
import com.dingpeikeji.quickdeer.core.common.service.CrudService;
import com.dingpeikeji.quickdeer.modules.office.dao.TCompAgreerateGroupDao;
import com.dingpeikeji.quickdeer.modules.office.entity.TCompAgreerateGroup;

/**
 * 分组公司Service
 * @author dingpei
 * @version 2016-12-08
 */
@Service
@Transactional(readOnly = true)
public class TCompAgreerateGroupService extends CrudService<TCompAgreerateGroupDao, TCompAgreerateGroup> {

	public TCompAgreerateGroup get(String compid) {
		return super.get(compid);
	}
	
	public List<TCompAgreerateGroup> findList(TCompAgreerateGroup tCompAgreerateGroup) {
		return super.findList(tCompAgreerateGroup);
	}
	
	public Page<TCompAgreerateGroup> findPage(Page<TCompAgreerateGroup> page, TCompAgreerateGroup tCompAgreerateGroup) {
		return super.findPage(page, tCompAgreerateGroup);
	}
	
	@Transactional(readOnly = false)
	public void save(TCompAgreerateGroup tCompAgreerateGroup) {
		super.save(tCompAgreerateGroup);
	}
	
	@Transactional(readOnly = false)
	public void delete(TCompAgreerateGroup tCompAgreerateGroup) {
		super.delete(tCompAgreerateGroup);
	}
	
}